package com.tz.dao;

import com.tz.entity.Category;
import com.tz.entity.Product;

import java.util.List;

/**
 * Created by Tinyang on 2016/7/27.
 */
public interface ProductDao {
    Product selectProduct(long product_id);

    List<Product> selectAllProducts();

    List<Category> selectAllCategories();

    List<Product>   selectProductsByCId(long category_id);
}
